package com.c8a.yygh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.c8a.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @Author:C8A
 * @Date:2021-10-12 16:05
 * @Email:1912327276@qq.com
 */

public interface DictService extends IService<Dict> {

    List<Dict> findChlidData(Long id);

    void exportData(HttpServletResponse response);

    void importData(MultipartFile file);

    String getNameByParentDictCodeAndValue(String parentDictCode, String value);

    List<Dict> findByDictCode(String dictCode);
}
